<!--
 * @Author: 刘鑫
 * @Date: 2020-11-09 19:46:50
 * @LastEditors: 刘鑫
 * @LastEditTime: 2020-11-10 15:51:44
 * @Description: 
-->
<template>
  <div class="index">
    <router-view />

    <van-tabbar route>
      <van-tabbar-item replace to="/index/home" icon="home-o">
        首页
      </van-tabbar-item>
      <van-tabbar-item replace to="/index/classify" icon="bars">
        分类
      </van-tabbar-item>
      <van-tabbar-item replace to="/index/message" icon="chat-o">
        消息
      </van-tabbar-item>
      <van-tabbar-item replace to="/index/my" icon="user-o">
        我的
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {};
</script>

<style lang='scss'>
.index {
  width: 100%;
  height: 100%;
  .van-tabbar {
    border-top: 1px solid #ccc;
  }
}
</style>